<?php
/* @var $this CmpTemplatesController */
/* @var $model CmpTemplates */

$this->breadcrumbs=array(
	'综合控制台'=>array($this->pre_module_url.'/index/index'),
	'网铺模板'=>array($this->pre_module_url.'/cmpTemplates/admin'),
	'模板管理'=>array($this->pre_module_url.'/cmpTemplates/admin'),
);


?>

<table class="list_table list_table2" width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<th width="" class="pl15">图例</th>
		<th width="18%">模板名称</th>
		<th width="18%">文件目录</th>
		<th width="18%">创建时间</th>
		<th width="15%">状态</th>
		<th width="12%">操作</th>                                            
	</tr>
</table>

<?php $this->widget('zii.widgets.CListView', array(
	'dataProvider'=>$model->search(),
	'itemView'=>'_view',
	'selectAll'=>array('ids[]','id[]'),
	'itemsTagName'=>'table',
	'itemsOptions'=>array('class'=>'list_table list_table2','width'=>'100%','cellpadding'=>0,'cellspacing'=>0),
	'artLink'=>array(
		//删除模板
		array(Yii::t('adm','Delete All'),$this->pre_module_url.'/cmpTemplates/delete','确认删除所选中的模板！'),
	),
	'batchItem'=>array(
		//添加模板
		CHtml::link(Yii::t('adm','Template Add').'<b class="mem_bgx left"></b><b class="mem_bgx right"></b>',array($this->pre_module_url.'/cmpTemplatesCreate/create'),array('class'=>'mem_bgx link_btn')),
	),
)); ?>
